package com.sunnyint.orderprinter.service.impl;

import com.sunnyint.orderprinter.entity.OrderInfo;
import com.sunnyint.orderprinter.service.PrintService;
import com.sunnyint.orderprinter.utils.SprintUtil;
import org.springframework.stereotype.Service;

@Service
public class PrintServiceImpl implements PrintService {
    @Override
    public void printOrder(OrderInfo orderInfo) {
        SprintUtil.print(orderInfo);
    }
}
